package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.Teachplan;
import com.xuecheng.content.model.po.TeachplanMedia;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("课程计划dto")
public class TeachplanDto extends Teachplan implements Serializable {
    @ApiModelProperty("子课程计划")
    private List<TeachplanDto> teachPlanTreeNodes;

    @ApiModelProperty("小节和媒资文件对应关系，只有小节有")
    private TeachplanMedia teachplanMedia;
}
